/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 22652
 * Date: 2024-05-16
 * Time: 22:18
 */
public class Test {
    public static void main(String[] args) {

        MyLinkedList A=new MyLinkedList();
        A.addLast(10);
        A.addLast(11);
        A.addIndex(0,10);
        A.addIndex(A.size(), 55);
        A.addIndex(3,30);
        A.addIndex(1,10);
        A.display();
        A.remove(10);
        A.display();
        A.remove(55);
        A.display();
        A.remove(30);
        A.display();
        A.removeAllKey(10);
        A.display();
    }
}